if button "onPortable" of window "main" is true
set onPortable to "<true/>"
else
set onPortable to "<false/>"
end if

if button "onPCI" of window "main" is true
set onPCI to "<string>IOPCIDevice</string>"
else
set onPCI to ""
end if

if button "onAGP" of window "main" is true
set onAGP to "<string>IOAGPDevice</string>"
else
set onAGP to ""
end if